package com.slipper.system.flow.dao;

import java.util.List;
import java.util.Map;

import com.slipper.system.flow.bo.FlowInstNodeBO;

/**
 * 流程实例节点
 */
public interface FlowInstNodeDao {
    
    int insert(FlowInstNodeBO bo);
    
    int update(FlowInstNodeBO bo);
    
    int delete(FlowInstNodeBO bo);

    FlowInstNodeBO queryBy(String id);
    
    List<Map<String, Object>> queryCurrDealMan(String instId);
    
    List<FlowInstNodeBO> queryListByInstId(String instId);

    List<FlowInstNodeBO> queryList(FlowInstNodeBO bo);

    int deleteByInstId(String instId);

    int deleteByFlowId(String flowId);
}
